/**
 * 功能描述
 */
define(function (require, exports, module) {
    //引入视图基类
    var ELView = require("elview");

    //assets
    var template = require("./assets/tpl/checkinmeeting_main.tpl");
    require("./assets/css/checkinmeeting_main.css");

    //business

    //component
    var checkinmeetingSubnav = require("./component/checkinmeetingSubnav");
    var checkinmeetingGrid = require("./component/checkinmeetingGrid");
    var checkinmeetingForm = require("./component/checkinmeetingForm");

    var App = ELView.extend({
        attrs: {
            template: template
        },
        
        initComponent: function (params, widget) {
        	checkinmeetingSubnav.initComponent(params, widget);
        	checkinmeetingGrid.initComponent(params, widget);
        	checkinmeetingForm.initComponent(params, widget);
        },
        afterInitComponent: function (params, widget) {
    		widget.get("grid").refresh();
        },
    });

    module.exports = App;
});
